package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.JpushMsg;
import com.secxiot.provider.task.entity.JpushMsgExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface JpushMsgDao {
    int countByExample(JpushMsgExample example);

    int deleteByExample(JpushMsgExample example);

    int deleteByPrimaryKey(Long id);

    int insert(JpushMsg record);

    int insertSelective(JpushMsg record);

    List<JpushMsg> selectByExample(JpushMsgExample example);

    JpushMsg selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") JpushMsg record, @Param("example") JpushMsgExample example);

    int updateByExample(@Param("record") JpushMsg record, @Param("example") JpushMsgExample example);

    int updateByPrimaryKeySelective(JpushMsg record);

    int updateByPrimaryKey(JpushMsg record);
}